<?php
namespace Home\Model;
use Think\Model;
/**
 * Created by PhpStorm.
 * User: wangli
 * Date: 15-5-6
 * Time: 下午8:18
 */
class AppInfoModel extends Model{
    protected $trueTableName = 'app_info';

    public function getAppInfo(){
        $appInfo = D('AppInfo');
        $appInfoRes = $appInfo->where('id = 1')->select();
        return $appInfoRes;
    }
}